#ifndef	__GAME_H__
#define	__GAME_H__

class GameSceneBase;
class Game
{
protected:
	Game();
	virtual ~Game();
	
public:
	static Game* GetInstance()
	{
		static Game theInstance;
		return &theInstance;
	}

	static void Update(float dt);
	static void Render();


	void DoUpdate(float dt);
	void DoRender();

protected:
	GameSceneBase*	m_pCurrScene;
public:
	void SwichScene(int SceneIndex);
};

#define	GameInstance Game::GetInstance()

#endif	//	__GAME_H__